import { defineStore } from 'pinia'


export const loginShowStore = defineStore('loginbox', {
	state: () => {
		return {
			loginboxshow: false,
		}
	},
	actions: {//保存user
		increment() {
			this.loginboxshow=!this.loginboxshow
		  },
	},
    getters:{//获取用户
        userInfo:(state)=>state.user//用户信息
    }
})
